<script type="text/javascript" charset="utf-8" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
<script>
wx.config({
    debug: <?= $this->context->debug; ?>, 
    appId: '<?= $this->context->appId; ?>', 
    timestamp:<?= $this->context->timestamp; ?>, 
    nonceStr: '<?= $this->context->nonceStr; ?>', 
    signature: '<?= $this->context->signature; ?>',
    jsApiList:<?= $this->context->jsApiList; ?> 
});
</script>
<script type="text/javascript" charset="utf-8"
src="<?= yii\helpers\Url::to('@web/') ?>public/js/wx_share.js<?php \app\components\Fun::debug(); ?>"></script>